#include <iostream>
using namespace std;

int main(int argc, char const *argv[])
{
  int num1 = 0;
  int num2 = 0;
  int num3 = 0;

  cout << "请输入小猪A的体重" << endl;
  cin >> num1;
  cout << "请输入小猪B的体重" << endl;
  cin >> num2;
  cout << "请输入小猪C的体重" << endl;
  cin >> num3;

  cout << "你输入的小猪A的体重为：" << num1 << "，你输入的小猪B的体重为：" << num2 << "，你输入的小猪C的体重为：" << num3 << endl;

  if (num1 > num2 && num1 > num3)
  {
    cout << "小猪A最重" << endl;
  }
  else if (num2 > num3)
  {
    cout << "小猪B最重" << endl;
  }
  else
  {
    cout << "小猪C最重" << endl;
  }

  return 0;
}